From 0a1b43eec3c05b94f011826adb6eb143a83f2081 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 19 Dec 2013 00:14:37 -0800 Subject: [PATCH] * lisp/emacs-lisp/ert.el (ert-select-tests): Fix string/symbol mixup. --- lisp/ChangeLog | 5 +++++ lisp/emacs-lisp/ert.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index daf685e3784..01e8a7cf966 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-12-19 Glenn Morris + + * emacs-lisp/ert.el (ert-select-tests): + Fix string/symbol mixup. (Bug#16121) + 2013-12-19 Dmitry Gutov * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index a131f48c488..01b610396a9 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -999,7 +999,8 @@ contained in UNIVERSE." (list (cl-remove-if-not (lambda (test) (and (ert-test-name test) (string-match selector - (ert-test-name test)))) + (symbol-name + (ert-test-name test))))) universe)))) (ert-test (list selector)) (symbol -- 2.30.2